package com.wx.entity;

import java.io.Serializable;

/**
 * 商品对应的父标签子标签列表
 * @author yangrong
 * @date 2019年9月25日
 */
public class GoodsProperty implements Serializable {
    private Integer id;

    private Integer goodsId;

    private Integer propertyF;

    private String propertyC;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getPropertyF() {
        return propertyF;
    }

    public void setPropertyF(Integer propertyF) {
        this.propertyF = propertyF;
    }

    public String getPropertyC() {
        return propertyC;
    }

    public void setPropertyC(String propertyC) {
        this.propertyC = propertyC == null ? null : propertyC.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", goodsId=").append(goodsId);
        sb.append(", propertyF=").append(propertyF);
        sb.append(", propertyC=").append(propertyC);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}